package com.example.choupaiapp.main.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ASUS on 2019/12/2.
 */

public class FindTabBean implements Serializable {

    /**
     * msg : success
     * code : 0
     * bannerList : [{"id":1,"image":"http://qiniu.qmdl666.com/19935329049N201992010272697.jpg","provider":1,"resource":"1"}]
     * categoriesList : [{"id":0,"name":"推荐"}]
     */

    private String msg;
    private int code;
    private List<BannerListBean> bannerList;
    private List<CategoriesListBean> categoriesList;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<BannerListBean> getBannerList() {
        return bannerList;
    }

    public void setBannerList(List<BannerListBean> bannerList) {
        this.bannerList = bannerList;
    }

    public List<CategoriesListBean> getCategoriesList() {
        return categoriesList;
    }

    public void setCategoriesList(List<CategoriesListBean> categoriesList) {
        this.categoriesList = categoriesList;
    }

    public static class BannerListBean implements Serializable{
        /**
         * id : 1
         * image : http://qiniu.qmdl666.com/19935329049N201992010272697.jpg
         * provider : 1
         * resource : 1
         */

        private int id;
        private String image;
        private int provider;
        private String resource;
        private String title;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public int getProvider() {
            return provider;
        }

        public void setProvider(int provider) {
            this.provider = provider;
        }

        public String getResource() {
            return resource;
        }

        public void setResource(String resource) {
            this.resource = resource;
        }
    }

    public static class CategoriesListBean implements Serializable{
        /**
         * id : 0
         * name : 推荐
         */

        private int id;
        private String name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
